import { RouteRecordRaw } from 'vue-router';

export default {
  name: 'record',
  path: '/record',
  component: () => import('@/layout/index.vue'),
  redirect: '/record/evolution',
  meta: {
    title: 'menus.mRecord',
    icon: 'el-icon-DataAnalysis',
    sort: 1,
    roles: 'JadeSoft-Agent'
  },
  children: [
    {
      name: 'record_evolution',
      path: '/record/evolution',
      component: () => import('@/views/record/evolution/index.vue'),
      meta: {
        title: 'menus.mRecordEvolution',
        icon: 'el-icon-more'
      }
    },
    {
      name: 'record_pp-slot',
      path: '/record/pp-slot',
      component: () => import('@/views/record/pp-slot/index.vue'),
      meta: {
        title: 'menus.mRecordPpSlot',
        icon: 'el-icon-more'
      }
    },
    {
      name: 'record_pp-live',
      path: '/record/pp-live',
      component: () => import('@/views/record/pp-live/index.vue'),
      meta: {
        title: 'menus.mRecordPpLive',
        icon: 'el-icon-more'
      }
    }
  ]
} as RouteRecordRaw;
